package com.ruoyi.xiaoshou.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.xiaoshou.domain.SaleBackRequestDetail;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author 罗梦杰
 * date 2024/11/7 14:18
 * @version 1.0
 */
@FeignClient(contextId = "RemoteSaleBackRequestDetailService", value = ServiceNameConstants.XIAOSHOU_SERVICE)
public interface RemoteSaleBackRequestDetailService {
    @PostMapping("/saleBackRequestDetail/getSaleBackRequestDetailByCodes")
    R<List<SaleBackRequestDetail>> getSaleBackRequestDetailByCodes(@RequestBody String[] codeArray);
}
